package com.zy.web.demo.wenjian;

import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

/**
 * @author zy
 * @version 1.0
 * @date 2021/4/13 20:51
 */
public class FileInput implements Runnable {
    private File file;
    private List<String> matchRegexList;

    public FileInput(File file,List<String> matchRegexList) {
        this.file = file;
        this.matchRegexList = matchRegexList;
    }

    @Override
    public void run() {
        DemoUpgrade.FileInput(matchRegexList, file);
    }
}
